/*
 * author Chrystian
 * since 11/05/2013
 * Classe Factory contendo fábrica de conexão JPA 2 + Hibernate 4.
 */



package br.com.guinchomarinho.utils;




	import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

	public final class HibernateJpaUtil {
	    private static final EntityManagerFactory emf =
	        Persistence.createEntityManagerFactory("ProjetoGuinchoMarinho");
		EntityManager em = emf.createEntityManager();	   

	    public static EntityManagerFactory get() {
	        return emf;
	    }
	}

